package com.xjscrm.console.dto.chat.setting;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author mingyang.chen create in 2024/3/18 10:43
 */
@Data
public class ChatAutoReplyJsonDTO {

    @ApiModelProperty("是否开启排队回复设置. 0:关闭, 1:开启")
    private Integer openQueueReply;
    @ApiModelProperty("排队回复文本")
    private String queueReplyText;
    @ApiModelProperty("排队重复回复时间, 单位时间")
    private Integer queueRepeatTime;

    @ApiModelProperty("是否开启会话结束设置. 0:关闭, 1:开启")
    private Integer openEndReply;
    @ApiModelProperty("手动结束回复文本")
    private String endReplyManualText;
    @ApiModelProperty("自动结束回复文本")
    private String endReplyAutoText;

    @ApiModelProperty("是否下班回复设置. 0:关闭, 1:开启")
    private Integer openLeave;
    @ApiModelProperty("下班回复设置集合")
    private List<LeaveItem> leaveItems;

    @Data
    public static class LeaveItem {
        @ApiModelProperty("下班开始时段")
        private String leaveStart;
        @ApiModelProperty("下班结束时段")
        private String leaveEnd;
        @ApiModelProperty("下班回复文案")
        private String leaveReplyText;
    }
}
